package com.yiyuan.app.entity.result;

import com.guaike.core.entity.annotation.NumberAutoConvert;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @Author: zhangxilin
 * @Date: 2024/5/31
 */
@ApiModel("首页用户信息")
@Data
public class HomeUserInfoVO implements Serializable {

    @ApiModelProperty("用户id")
    private Long userId;

    @ApiModelProperty("用户昵称")
    private String nickname;

    @ApiModelProperty("用户头像")
    private String avatarurl;

    @ApiModelProperty("vip等级")
    private Integer vipGrade;

    @ApiModelProperty("松果数量")
    @NumberAutoConvert
    private Integer pinecone;

    @ApiModelProperty("松子数量")
    @NumberAutoConvert
    private Integer pineNut;

    @ApiModelProperty("是否实名")
    private Boolean isCertify = Boolean.TRUE;

    @ApiModelProperty("是否有特权")
    private Boolean isPrivilege = Boolean.FALSE;

    @ApiModelProperty("是否管理员")
    private Boolean isManage = Boolean.FALSE;

    @ApiModelProperty("活动礼包名称，为空则不显示活动礼包")
    private String activityName;

    @ApiModelProperty("签到名称，为空则不显示签到")
    private String signName;
}
